package dao;

import entity.User;

import java.util.List;

public interface UserDao {
    List<User> getUsers();
    int insertUser(User user);
    List<User> getUsersByName(String userName);
    int updateById(User user);
    int deleteByname(String username);
    int logon(User user);
    String findPassword(String username);
    String findName(String username);
}
